<template>
  <div class="page-test">
    <a-button @click="test">test</a-button>
    <a-button @click="createSql">创建本地数据库</a-button>
  </div>
</template>

<script>
import writeFile from '@/lib/writeFile'
import sqlServer from '@/sqlServer'

export default {
  methods: {
    test (val) {
    },
    // 创建本地数据库文件
    createSql (val) {
      writeFile.createSqlFile(val)
    },
    async showConsole () {
      console.log('sqlServer', sqlServer)
    }
  }
}
</script>

<style lang="less" scoped>
.page-test{
  padding: 18px;
}
</style>
